package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Study3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String answer = "";
        do {
            System.out.println("上午学习理论\n下午上机");
            System.out.println("请岳不群检查:");
            answer = in.next();
        } while (!(answer.equals("yes")));

        System.out.println("合格了，令狐冲出去浪");
    }
}
